package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 培养计划课程设置
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-11-12
 * Time: 下午2:53
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "TJX_JHPYKCSZ")
@Entity
public class TjxJhpykcsz {
	private Long id;
	private Long pyjh;//培养计划id
	private Long kc; //课程id
	private Integer kcdl;//课程大类
	private Integer sfkz;//是否考证
	private Long hbSkfs;//授课方式
	private Long hbKcxz;//课程性质
	private Long hbKsfs;//考试方式
	private Long hbKhfs;//考核方式
	private Integer llks;//理论学时
	private Integer syks;//实验学时
	private Integer zkss;//总学时数
	private Integer zxf;//总学分

	/**
	 * 不显示start*
	 */
	private String kcmc;//课程名称
	private String yxkc;//预修课程
	private Long hbKcsx;//课程属性
	private Integer zzjg;//开课院系所
	private BigDecimal xfyq;//学分要求
	private Integer xsyq;//学时要求
	private Integer jhxss;//计划学生数
	private Integer jxbs;//计划教学班数量
	private String bz;//备注
	/**
	 * 不显示end*
	 */

	private Long cjr; //创建人
	private Long cjsj;//创建时间

	/**
	 * 课程属性
	 */
	private String kcsx;
	/**
	 * 授课方式
	 */
	private String skfs;
	/**
	 * 考试方式
	 */
	private String ksfs;

	/**
	 * 课程安排集合
	 */
	private List<TjxJhpykcap> listKcap = new ArrayList<TjxJhpykcap>();

	public TjxJhpykcsz() {
	}

	public TjxJhpykcsz(Long id, Long pyjh, Long kc, Integer kcdl, Integer sfkz, Long hbSkfs, Long hbKcxz,
					   Long hbKsfs, Long hbKhfs, Integer llks, Integer syks, Integer zkss, Integer zxf,
					   String kcmc, String yxkc, Long hbKcsx, Integer zzjg, BigDecimal xfyq, Integer xsyq,
					   Integer jhxss, Integer jxbs, String bz, Long cjr, Long cjsj, String kcsx, String skfs, String ksfs) {
		this.id = id;
		this.pyjh = pyjh;
		this.kc = kc;
		this.kcdl = kcdl;
		this.sfkz = sfkz;
		this.hbSkfs = hbSkfs;
		this.hbKcxz = hbKcxz;
		this.hbKsfs = hbKsfs;
		this.hbKhfs = hbKhfs;
		this.llks = llks;
		this.syks = syks;
		this.zkss = zkss;
		this.zxf = zxf;
		this.kcmc = kcmc;
		this.yxkc = yxkc;
		this.hbKcsx = hbKcsx;
		this.zzjg = zzjg;
		this.xfyq = xfyq;
		this.xsyq = xsyq;
		this.jhxss = jhxss;
		this.jxbs = jxbs;
		this.bz = bz;
		this.cjr = cjr;
		this.cjsj = cjsj;
		this.kcsx = kcsx;
		this.skfs = skfs;
		this.ksfs = ksfs;
	}

	@javax.persistence.Column(name = "ID")
	@Id
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@javax.persistence.Column(name = "PYJH")
	@Basic
	public Long getPyjh() {
		return pyjh;
	}

	public void setPyjh(Long pyjh) {
		this.pyjh = pyjh;
	}

	@javax.persistence.Column(name = "KC")
	@Basic
	public Long getKc() {
		return kc;
	}

	public void setKc(Long kc) {
		this.kc = kc;
	}

	@javax.persistence.Column(name = "KCDL")
	@Basic
	public Integer getKcdl() {
		return kcdl;
	}

	public void setKcdl(Integer kcdl) {
		this.kcdl = kcdl;
	}

	@javax.persistence.Column(name = "SFKZ")
	@Basic
	public Integer getSfkz() {
		return sfkz;
	}

	public void setSfkz(Integer sfkz) {
		this.sfkz = sfkz;
	}

	@javax.persistence.Column(name = "HB_SKFS")
	@Basic
	public Long getHbSkfs() {
		return hbSkfs;
	}

	public void setHbSkfs(Long hbSkfs) {
		this.hbSkfs = hbSkfs;
	}

	@javax.persistence.Column(name = "HB_KCXZ")
	@Basic
	public Long getHbKcxz() {
		return hbKcxz;
	}

	public void setHbKcxz(Long hbKcxz) {
		this.hbKcxz = hbKcxz;
	}

	@javax.persistence.Column(name = "HB_KSFS")
	@Basic
	public Long getHbKsfs() {
		return hbKsfs;
	}

	public void setHbKsfs(Long hbKsfs) {
		this.hbKsfs = hbKsfs;
	}

	@javax.persistence.Column(name = "HB_KHFS")
	@Basic
	public Long getHbKhfs() {
		return hbKhfs;
	}

	public void setHbKhfs(Long hbKhfs) {
		this.hbKhfs = hbKhfs;
	}

    @javax.persistence.Column(name = "LLKS")
    @Basic
    public Integer getLlks() {
        return llks;
    }

    public void setLlks(Integer llks) {
        this.llks = llks;
    }

    @javax.persistence.Column(name = "SYKS")
    @Basic
    public Integer getSyks() {
        return syks;
    }

    public void setSyks(Integer syks) {
        this.syks = syks;
    }

    @javax.persistence.Column(name = "ZKSS")
    @Basic
    public Integer getZkss() {
        return zkss;
    }

    public void setZkss(Integer zkss) {
        this.zkss = zkss;
    }

	@javax.persistence.Column(name = "ZXF")
	@Basic
	public Integer getZxf() {
		return zxf;
	}

	public void setZxf(Integer zxf) {
		this.zxf = zxf;
	}

	@javax.persistence.Column(name = "KCMC")
	@Basic
	public String getKcmc() {
		return kcmc;
	}

	public void setKcmc(String kcmc) {
		this.kcmc = kcmc;
	}

	@javax.persistence.Column(name = "YXKC")
	@Basic
	public String getYxkc() {
		return yxkc;
	}

	public void setYxkc(String yxkc) {
		this.yxkc = yxkc;
	}

	@javax.persistence.Column(name = "HB_KCSX")
	@Basic
	public Long getHbKcsx() {
		return hbKcsx;
	}

	public void setHbKcsx(Long hbKcsx) {
		this.hbKcsx = hbKcsx;
	}

	@javax.persistence.Column(name = "ZZJG")
	@Basic
	public Integer getZzjg() {
		return zzjg;
	}

	public void setZzjg(Integer zzjg) {
		this.zzjg = zzjg;
	}

	@javax.persistence.Column(name = "XFYQ")
	@Basic
	public BigDecimal getXfyq() {
		return xfyq;
	}

	public void setXfyq(BigDecimal xfyq) {
		this.xfyq = xfyq;
	}

	@javax.persistence.Column(name = "XSYQ")
	@Basic
	public Integer getXsyq() {
		return xsyq;
	}

	public void setXsyq(Integer xsyq) {
		this.xsyq = xsyq;
	}

	@javax.persistence.Column(name = "JHXSS")
	@Basic
	public Integer getJhxss() {
		return jhxss;
	}

	public void setJhxss(Integer jhxss) {
		this.jhxss = jhxss;
	}

	@javax.persistence.Column(name = "JXBS")
	@Basic
	public Integer getJxbs() {
		return jxbs;
	}

	public void setJxbs(Integer jxbs) {
		this.jxbs = jxbs;
	}

	@javax.persistence.Column(name = "BZ")
	@Basic
	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	@javax.persistence.Column(name = "CJR")
	@Basic
	public Long getCjr() {
		return cjr;
	}

	public void setCjr(Long cjr) {
		this.cjr = cjr;
	}

	@javax.persistence.Column(name = "CJSJ")
	@Basic
	public Long getCjsj() {
		return cjsj;
	}

	public void setCjsj(Long cjsj) {
		this.cjsj = cjsj;
	}

	@Transient
	public List<TjxJhpykcap> getListKcap() {
		return listKcap;
	}

	public void setListKcap(List<TjxJhpykcap> listKcap) {
		this.listKcap = listKcap;
	}

	@Transient
	public String getKcsx() {
		return kcsx;
	}

	public void setKcsx(String kcsx) {
		this.kcsx = kcsx;
	}

	@Transient
	public String getSkfs() {
		return skfs;
	}

	public void setSkfs(String skfs) {
		this.skfs = skfs;
	}

	@Transient
	public String getKsfs() {
		return ksfs;
	}

	public void setKsfs(String ksfs) {
		this.ksfs = ksfs;
	}
}
